服务端v2ray.service启动失败 · Issue #2720 · v2ray/v2ray

您所在的位置:网站首页 v2ray status 未在运行 服务端v2ray.service启动失败 · Issue #2720 · v2ray/v2ray

服务端v2ray.service启动失败 · Issue #2720 · v2ray/v2ray

2023-08-14 17:32| 来源: 网络整理| 查看: 265

你正在使用哪个版本的 V2Ray?(如果服务器和客户端使用了不同版本,请注明) V2Ray 4.27.5

你的使用场景是什么?比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。 服务端启动v2ray.service

你看到的不正常的现象是什么?(请描述具体现象,比如访问超时,TLS 证书错误等) v2ray.service启动失败

你期待看到的正确表现是怎样的? v2ray.service正确启动

请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。

服务器端配置:

{ "log": { "access": "/var/log/v2ray/access.log", "error": "/var/log/v2ray/error.log", "loglevel": "warning" }, "inbounds": [{ "port": 26298, "listen":"127.0.0.1", "protocol": "vmess", "settings": { "clients": [ { "id": "0e32cfae-5b78-4046-9444-1aee563081b8", "level": 1, "alterId": 64 } ] }, "streamSettings": { "network": "ws", "wsSettings": { "path": "/ray" } } }], "outbounds": [{ "protocol": "freedom", "settings": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" }], "routing": { "rules": [ { "type": "field", "ip": ["geoip:private"], "outboundTag": "blocked" } ] } } 请附上出错时软件输出的错误日志。在 Linux 中,日志通常在 /var/log/v2ray/error.log 文件中。

服务器端错误日志:

2020/09/04 08:28:13 [Warning] v2ray.com/core: V2Ray 4.27.5 started

请附上访问日志。在 Linux 中,日志通常在 /var/log/v2ray/access.log 文件中。

其它相关的配置文件(如 Nginx)和相关日志。

如果 V2Ray 无法启动,请附上 --test 输出。

通常的命令为 /usr/bin/v2ray/v2ray --test --config /etc/v2ray/config.json。请按实际情况修改。

V2Ray 4.27.5 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.7 linux/amd64) A unified platform for anti-censorship. 2020/09/05 15:45:44 [Info] v2ray.com/core/common/platform/ctlcmd: v2ctl> Read config: /etc/v2ray/config.json Configuration OK.

如果 V2Ray 服务运行不正常,请附上 journal 日志。

通常的命令为 journalctl -u v2ray。

-- Logs begin at Sat 2020-09-05 00:20:33 UTC, end at Sat 2020-09-05 15:42:13 UTC. -- Sep 05 15:42:10 systemd[1]: Started V2Ray Service. Sep 05 15:42:10 v2ray[28985]: V2Ray 4.27.5 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.7 linux/amd64) Sep 05 15:42:10 v2ray[28985]: A unified platform for anti-censorship. Sep 05 15:42:11 v2ray[28985]: main: failed to create server > v2ray.com/core/app/log: failed to initialize access logger > open /var/log/v2ray/access.log: permission denied Sep 05 15:42:11 systemd[1]: v2ray.service: main process exited, code=exited, status=23/n/a Sep 05 15:42:11 systemd[1]: Unit v2ray.service entered failed state. Sep 05 15:42:11 systemd[1]: v2ray.service failed. Sep 05 15:42:11 systemd[1]: v2ray.service holdoff time over, scheduling restart. Sep 05 15:42:11 systemd[1]: Stopped V2Ray Service. Sep 05 15:42:11 systemd[1]: Started V2Ray Service. Sep 05 15:42:11 v2ray[28992]: V2Ray 4.27.5 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.7 linux/amd64) Sep 05 15:42:11 v2ray[28992]: A unified platform for anti-censorship. Sep 05 15:42:11 v2ray[28992]: main: failed to create server > v2ray.com/core/app/log: failed to initialize access logger > open /var/log/v2ray/access.log: permission denied Sep 05 15:42:11 systemd[1]: v2ray.service: main process exited, code=exited, status=23/n/a Sep 05 15:42:11 systemd[1]: Unit v2ray.service entered failed state. Sep 05 15:42:11 systemd[1]: v2ray.service failed. Sep 05 15:42:11 systemd[1]: v2ray.service holdoff time over, scheduling restart. Sep 05 15:42:11 systemd[1]: Stopped V2Ray Service. Sep 05 15:42:11 systemd[1]: Started V2Ray Service. Sep 05 15:42:11 v2ray[28999]: V2Ray 4.27.5 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.7 linux/amd64) Sep 05 15:42:11 v2ray[28999]: A unified platform for anti-censorship. Sep 05 15:42:12 v2ray[28999]: main: failed to create server > v2ray.com/core/app/log: failed to initialize access logger > open /var/log/v2ray/access.log: permission denied Sep 05 15:42:12 systemd[1]: v2ray.service: main process exited, code=exited, status=23/n/a Sep 05 15:42:12 systemd[1]: Unit v2ray.service entered failed state. Sep 05 15:42:12 systemd[1]: v2ray.service failed. Sep 05 15:42:12 systemd[1]: v2ray.service holdoff time over, scheduling restart. Sep 05 15:42:12 systemd[1]: Stopped V2Ray Service. Sep 05 15:42:12 systemd[1]: Started V2Ray Service. Sep 05 15:42:12 v2ray[29006]: V2Ray 4.27.5 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.7 linux/amd64) Sep 05 15:42:12 v2ray[29006]: A unified platform for anti-censorship. Sep 05 15:42:12 v2ray[29006]: main: failed to create server > v2ray.com/core/app/log: failed to initialize access logger > open /var/log/v2ray/access.log: permission denied Sep 05 15:42:12 systemd[1]: v2ray.service: main process exited, code=exited, status=23/n/a Sep 05 15:42:12 systemd[1]: Unit v2ray.service entered failed state. Sep 05 15:42:12 systemd[1]: v2ray.service failed. Sep 05 15:42:13 systemd[1]: v2ray.service holdoff time over, scheduling restart. Sep 05 15:42:13 systemd[1]: Stopped V2Ray Service. Sep 05 15:42:13 systemd[1]: Started V2Ray Service. Sep 05 15:42:13 v2ray[29013]: V2Ray 4.27.5 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.7 linux/amd64) Sep 05 15:42:13 v2ray[29013]: A unified platform for anti-censorship. Sep 05 15:42:13 systemd[1]: v2ray.service: main process exited, code=exited, status=23/n/a Sep 05 15:42:13 systemd[1]: Unit v2ray.service entered failed state. Sep 05 15:42:13 systemd[1]: v2ray.service failed. Sep 05 15:42:13 systemd[1]: v2ray.service holdoff time over, scheduling restart. Sep 05 15:42:13 systemd[1]: Stopped V2Ray Service. Sep 05 15:42:13 systemd[1]: start request repeated too quickly for v2ray.service Sep 05 15:42:13 systemd[1]: Failed to start V2Ray Service. Sep 05 15:42:13 systemd[1]: Unit v2ray.service entered failed state. Sep 05 15:42:13 systemd[1]: v2ray.service failed.



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3